package cn.liutao.order.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author: liutao
 * @description: 支付结果vo
 * @date: 2023/12/14 9:19
 */
@Data
public class PayResultVo {
    //支付记录号
    private String payNo;
    //第三方支付记录号
    private String outPayNo;
    //第三方支付渠道
    private String outPayChannel;
    //订单号
    private String orderNo;
    //金额
    private BigDecimal totalPrice;
    //支付货币
    private String currency;
    @JsonFormat(pattern = "yyyy-MM-DD HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-DD HH:mm:ss")
    private LocalDateTime paySuccessTime;
    private Integer userId;

}
